<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Public.Master" 
    Inherits="System.Web.Mvc.ViewPage<Owlpal.Models.Newsletter>" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Show
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">
    <h2><%= Model.Subject %></h2>
    <p>
        By <%= Model.Creator.UserName %> <br />
        Published: <%= Model.DateSent %>
    </p>
    <div id="newsletter_body">
        <%= Model.Body %>
    </div>
    <% if (User.IsInRole("Administrators"))
       { %>
    <p>
        <%= Html.ActionLink("Edit", "Edit", new {id= Model.ID}) %> |
        <%=Html.ActionLink("Back to List", "Index") %>
    </p>
    <%} %>
</asp:Content>
